<empty name="userInfo">
    <div class="personal1">
        <div class="bg-blue"></div>
        <img src="__ROOT__/Public/Home/static/temp_img/avatar.png" alt="" class="avatar-mr"/>
        <div class="info-tips">游客，您好</div>
        <div class="btn-tips">
            <input type="button" value="登录" class="denglu"/>
            <input type="button" value="注册" class="zhuce"/>
        </div>
    </div>
<else />
    <div class="personal" style="background-image: url('{$user.background|default="__ROOT__/Public/Home/images/background.jpg"}');">
        <div class="avatar">
            <div class="avatar-img">
                <img src="{$user.avatar|default="__PUBLIC__/Home/static/images/avatar-mr.png"}" alt="{$user.nickname}">
            </div>
        </div>
        <div class="name">
            <div class="name-box">
                <div class="level">LV.{$user.level}</div>
                <div class="nicheng">{$user.nickname}</div>
                <!-- <div class="sex">
                    <img src="images/sex.png" alt=""/>
                </div> -->
            </div>
        </div>
        <div class="mine">
            <ul>
                <!-- <a href="{:U('Ucenter/fans')}"> -->
                    <li>
                        <i class="mine-img mine-img1"></i>
                        <div class="mine-span">粉丝：{$user.statis.fans}</div>
                    </li>
                <!-- </a> -->
                <li>
                    <i class="mine-img mine-img2"></i>
                    <div class="mine-span" id="followCount" data-count="{$user.statis.follows}">关注：{$user.statis.follows}</div>
                </li>
                <li>
                    <i class="mine-img mine-img3"></i>
                    <div class="mine-span">游戏：{$user.statis.scribe}</div>
                </li>
            </ul>
        </div>
    </div>
</empty>
<div class="my-info">
    <ul>
        <li>
            <!-- <a href="{:U('Ucenter/index')}"> -->
            <a href="javascript:;">
                <i class="li-img1"></i>
                <div class="li-span">我的动态</div>
            </a>
        </li>
        <li>
            <!-- <a href="{:U('Ucenter/message')}"> -->
            <a href="javascript:;">
                <i class="li-img9"></i>
                <div class="li-span">与我相关</div>
                <neq name="newMsgNum" value="0">
                    <div class="new">new</div>
                </neq>
            </a>
        </li>
        <li>
            <!-- <a href="{:U('Ucenter/favour')}"> -->
            <a href="javascript:;">
                <i class="li-img7"></i>
                <div class="li-span">我的收藏</div>
            </a>
        </li>
        <li>
            <!-- <a href="{:U('Ucenter/history')}"> -->
            <a href="javascript:;">
                <i class="li-img6"></i>
                <div class="li-span">查看记录</div>
            </a>
        </li>
        <li>
            <!-- <a href="{:U('Ucenter/profile')}"> -->
            <a href="javascript:;">
                <i class="li-img5"></i>
                <div class="li-span">个人资料</div>
            </a>
        </li>
        <li>
            <!-- <a href="{:U('Ucenter/setting')}"> -->
            <a href="javascript:;">
                <i class="li-img2"></i>
                <div class="li-span">账号设置</div>
            </a>
        </li>
    </ul>
</div>